package com.mapper;

import com.pojo.Startstop;

import java.util.List;

public interface StartstopMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(Startstop record);

    int insertSelective(Startstop record);

    Startstop selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(Startstop record);

    int updateByPrimaryKey(Startstop record);
    /*根据业主查询停车*/
    public List<Startstop> selectStartStopByOwnerId(Integer ownerid);
    /*开始停车*/
    public int addStartStop(Startstop startstop);

    public int deleteStartStopById(Integer id);

    /***
     * 根据车位外键查询
     * @param parklotid
     * @return
     */
    public Startstop selectStartStopByParkLotId(Integer parklotid);
}